<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GuildServiceBasic: guildservicebasic/logic/guild_brief_logic.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GuildServiceBasic
   &#160;<span id="projectnumber">0.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d04a84e85cf7a75c933e6a1d1407fb67.html">guildservicebasic</a></li><li class="navelem"><a class="el" href="dir_5119c46a32dac96f6a4a40d0601da883.html">logic</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">guild_brief_logic.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="guild__brief__logic_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &quot;guild/guild.h&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;error/error_code.h&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keyword">struct </span>GuildModuleBrief;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">struct </span>AnnounceData;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">namespace </span>guild_service {</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classguild__service_1_1_guild_brief_logic.html">   37</a></span>&#160;<span class="keyword">class </span><a class="code" href="classguild__service_1_1_guild_brief_logic.html">GuildBriefLogic</a> {</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">bool</span> GetGuildModuleBrief(<span class="keyword">const</span> guild_id_type guild_id,</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;                            GuildModuleBrief &amp;module_brief);</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#a5ce9f2d65b02e6fafe5a46abf3a5a763">GetGuildModuleBriefByRole</a>(<span class="keyword">const</span> role_uuid_type role_uuid,</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;                                  GuildModuleBrief &amp;module_brief);</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> std::string &amp;<a class="code" href="classguild__service_1_1_guild_brief_logic.html#a6502aa2911c1fc2cc9d6b273cac49b9d">GetGuildName</a>(<span class="keyword">const</span> guild_id_type guild_id);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  <span class="keyword">static</span> uint32_t <a class="code" href="classguild__service_1_1_guild_brief_logic.html#aec21ac1e34d5550e850422767efa80cc">GetGuildLevel</a>(<span class="keyword">const</span> guild_id_type guild_id);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;  <span class="keyword">static</span> guild_icon_id_type <a class="code" href="classguild__service_1_1_guild_brief_logic.html#ac4b06312f5901a6f6224f92795d90698">GetGuildIconId</a>(<span class="keyword">const</span> guild_id_type guild_id);</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> std::string &amp;<a class="code" href="classguild__service_1_1_guild_brief_logic.html#a4cb0c754e10fe333e4d9874cd8fc8d42">GetGuildDeclaration</a>(<span class="keyword">const</span> guild_id_type guild_id);</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> std::string &amp;<a class="code" href="classguild__service_1_1_guild_brief_logic.html#a60dffb93ce3eb3838b77f84ecd6b206e">GetGuildAnnounce</a>(<span class="keyword">const</span> guild_id_type guild_id);</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> role_uuid_type <a class="code" href="classguild__service_1_1_guild_brief_logic.html#a73a980e1cdcfb76919a620483b75c3eb">GetCreatorUuid</a>(<span class="keyword">const</span> guild_id_type guild_id);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> role_uuid_type <a class="code" href="classguild__service_1_1_guild_brief_logic.html#a9d7ecd6015808bc6dbb4bdbdb8580a9a">GetChairmanUuid</a>(<span class="keyword">const</span> guild_id_type guild_id);</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> role_uuid_type <a class="code" href="classguild__service_1_1_guild_brief_logic.html#ab4ad83a2c2bbe47cab29e2ebcd40a5af">GetViceChairmanUuid</a>(<span class="keyword">const</span> guild_id_type guild_id);</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#a2eeebf223a4acb3ab082cc2f22f96057">IsAutoApproval</a>(<span class="keyword">const</span> guild_id_type guild_id);</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#a57e2e7c267937408a0c85de6dc915f16">SetAutoApproval</a>(<span class="keyword">const</span> role_uuid_type role_uuid,</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;                              <span class="keyword">const</span> <span class="keywordtype">bool</span> is_auto_approval, error_code &amp;ec);</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160; </div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#a1cc147c8e3fdfa6441516be619f909c0">ChangeGuildIconIdByRole</a>(<span class="keyword">const</span> role_uuid_type role_uuid,</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;                                      <span class="keyword">const</span> guild_icon_id_type icon_id,</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;                                      error_code &amp;ec);</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#a111b7bfdceff19088affc3d9e243f331">ChangeGuildNameByRole</a>(<span class="keyword">const</span> role_uuid_type role_uuid,</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;                                    <span class="keyword">const</span> std::string &amp;name, error_code &amp;ec);</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160; </div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#a7fc83b838c635dab03338e44e7aa6fca">ChangeGuildDeclarationByRole</a>(<span class="keyword">const</span> role_uuid_type role_uuid,</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;                                           <span class="keyword">const</span> std::string &amp;declaraion,</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;                                           error_code &amp;ec);</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#a57e98a17f3cef532e7f4bad9e54bfcbe">ChangeGuildAnnounceByRole</a>(<span class="keyword">const</span> role_uuid_type role_uuid,</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;                                        <span class="keyword">const</span> std::string &amp;announce,</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;                                        error_code &amp;ec);</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#a866f9559f1f8f69e0acad52d9a7dc077">GiveGuildItem</a>(<span class="keyword">const</span> role_uuid_type role_uuid,</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;                            <span class="keyword">const</span> uint32_t item_id, <span class="keyword">const</span> uint32_t item_count,</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;                            error_code &amp;ec);</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160; </div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="classguild__service_1_1_guild_brief_logic.html#aeaf2df33f6bbf318b1bbec6d665525dc">  210</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#aeaf2df33f6bbf318b1bbec6d665525dc">NewsType</a> = AnnounceData;  </div>
<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="classguild__service_1_1_guild_brief_logic.html#a033a036d0a5f82ae3cdb5778980802cb">  211</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#a033a036d0a5f82ae3cdb5778980802cb">ForeachNewsCallbackType</a> =</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;      std::function&lt;void(<span class="keyword">const</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#aeaf2df33f6bbf318b1bbec6d665525dc">NewsType</a> &amp;)&gt;;  </div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160; </div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#adce5454ee58fcefe85c5a57f115862f5">AddNews</a>(<span class="keyword">const</span> guild_id_type guild_id, <span class="keyword">const</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#aeaf2df33f6bbf318b1bbec6d665525dc">NewsType</a> &amp;news);</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160; </div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#afaa3264e985f0e0a1afa7287e43ea1bd">ForeachNews</a>(<span class="keyword">const</span> guild_id_type guild_id,</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;                          <span class="keyword">const</span> <a class="code" href="classguild__service_1_1_guild_brief_logic.html#a033a036d0a5f82ae3cdb5778980802cb">ForeachNewsCallbackType</a> &amp;callback);</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;};</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160; </div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classguild__service_1_1_checker.html">  238</a></span>&#160;<span class="keyword">class </span><a class="code" href="classguild__service_1_1_checker.html">Checker</a> {</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;  <span class="comment">// TODO 检查公告宣言、公告的合法性</span></div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;};</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160; </div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;}  <span class="comment">// namespace guild_service</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_ab4ad83a2c2bbe47cab29e2ebcd40a5af"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#ab4ad83a2c2bbe47cab29e2ebcd40a5af">guild_service::GuildBriefLogic::GetViceChairmanUuid</a></div><div class="ttdeci">static const role_uuid_type GetViceChairmanUuid(const guild_id_type guild_id)</div><div class="ttdoc">获取公会副会长角色唯一id</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:103</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_a4cb0c754e10fe333e4d9874cd8fc8d42"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#a4cb0c754e10fe333e4d9874cd8fc8d42">guild_service::GuildBriefLogic::GetGuildDeclaration</a></div><div class="ttdeci">static const std::string &amp; GetGuildDeclaration(const guild_id_type guild_id)</div><div class="ttdoc">获取公会宣言</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:64</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_a57e2e7c267937408a0c85de6dc915f16"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#a57e2e7c267937408a0c85de6dc915f16">guild_service::GuildBriefLogic::SetAutoApproval</a></div><div class="ttdeci">static bool SetAutoApproval(const role_uuid_type role_uuid, const bool is_auto_approval, error_code &amp;ec)</div><div class="ttdoc">设置自动同意入会</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:120</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_a6502aa2911c1fc2cc9d6b273cac49b9d"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#a6502aa2911c1fc2cc9d6b273cac49b9d">guild_service::GuildBriefLogic::GetGuildName</a></div><div class="ttdeci">static const std::string &amp; GetGuildName(const guild_id_type guild_id)</div><div class="ttdoc">获取公会名字</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:38</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html">guild_service::GuildBriefLogic</a></div><div class="ttdoc">公会简略信息逻辑类</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.h:37</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_a866f9559f1f8f69e0acad52d9a7dc077"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#a866f9559f1f8f69e0acad52d9a7dc077">guild_service::GuildBriefLogic::GiveGuildItem</a></div><div class="ttdeci">static bool GiveGuildItem(const role_uuid_type role_uuid, const uint32_t item_id, const uint32_t item_count, error_code &amp;ec)</div><div class="ttdoc">交付道具</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:327</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_a1cc147c8e3fdfa6441516be619f909c0"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#a1cc147c8e3fdfa6441516be619f909c0">guild_service::GuildBriefLogic::ChangeGuildIconIdByRole</a></div><div class="ttdeci">static bool ChangeGuildIconIdByRole(const role_uuid_type role_uuid, const guild_icon_id_type icon_id, error_code &amp;ec)</div><div class="ttdoc">修改公会图标</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:197</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_aec21ac1e34d5550e850422767efa80cc"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#aec21ac1e34d5550e850422767efa80cc">guild_service::GuildBriefLogic::GetGuildLevel</a></div><div class="ttdeci">static uint32_t GetGuildLevel(const guild_id_type guild_id)</div><div class="ttdoc">获取公会等级</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:47</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_a111b7bfdceff19088affc3d9e243f331"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#a111b7bfdceff19088affc3d9e243f331">guild_service::GuildBriefLogic::ChangeGuildNameByRole</a></div><div class="ttdeci">static bool ChangeGuildNameByRole(const role_uuid_type role_uuid, const std::string &amp;name, error_code &amp;ec)</div><div class="ttdoc">修改公会名字</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:228</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_a73a980e1cdcfb76919a620483b75c3eb"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#a73a980e1cdcfb76919a620483b75c3eb">guild_service::GuildBriefLogic::GetCreatorUuid</a></div><div class="ttdeci">static const role_uuid_type GetCreatorUuid(const guild_id_type guild_id)</div><div class="ttdoc">获取公会创建者角色唯一id</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:85</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_adce5454ee58fcefe85c5a57f115862f5"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#adce5454ee58fcefe85c5a57f115862f5">guild_service::GuildBriefLogic::AddNews</a></div><div class="ttdeci">static bool AddNews(const guild_id_type guild_id, const NewsType &amp;news)</div><div class="ttdoc">添加新闻</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:151</div></div>
<div class="ttc" id="aclassguild__service_1_1_checker_html"><div class="ttname"><a href="classguild__service_1_1_checker.html">guild_service::Checker</a></div><div class="ttdef"><b>Definition:</b> guild_brief_logic.h:238</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_a7fc83b838c635dab03338e44e7aa6fca"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#a7fc83b838c635dab03338e44e7aa6fca">guild_service::GuildBriefLogic::ChangeGuildDeclarationByRole</a></div><div class="ttdeci">static bool ChangeGuildDeclarationByRole(const role_uuid_type role_uuid, const std::string &amp;declaraion, error_code &amp;ec)</div><div class="ttdoc">修改公会宣言</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:265</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_ac4b06312f5901a6f6224f92795d90698"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#ac4b06312f5901a6f6224f92795d90698">guild_service::GuildBriefLogic::GetGuildIconId</a></div><div class="ttdeci">static guild_icon_id_type GetGuildIconId(const guild_id_type guild_id)</div><div class="ttdoc">获取公会图标id</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:55</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_a2eeebf223a4acb3ab082cc2f22f96057"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#a2eeebf223a4acb3ab082cc2f22f96057">guild_service::GuildBriefLogic::IsAutoApproval</a></div><div class="ttdeci">static bool IsAutoApproval(const guild_id_type guild_id)</div><div class="ttdoc">是否自动入会</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:112</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_a9d7ecd6015808bc6dbb4bdbdb8580a9a"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#a9d7ecd6015808bc6dbb4bdbdb8580a9a">guild_service::GuildBriefLogic::GetChairmanUuid</a></div><div class="ttdeci">static const role_uuid_type GetChairmanUuid(const guild_id_type guild_id)</div><div class="ttdoc">获取公会会长角色唯一id</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:94</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_a033a036d0a5f82ae3cdb5778980802cb"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#a033a036d0a5f82ae3cdb5778980802cb">guild_service::GuildBriefLogic::ForeachNewsCallbackType</a></div><div class="ttdeci">std::function&lt; void(const NewsType &amp;)&gt; ForeachNewsCallbackType</div><div class="ttdoc">遍历公会新闻回调函数类型</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.h:212</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_a57e98a17f3cef532e7f4bad9e54bfcbe"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#a57e98a17f3cef532e7f4bad9e54bfcbe">guild_service::GuildBriefLogic::ChangeGuildAnnounceByRole</a></div><div class="ttdeci">static bool ChangeGuildAnnounceByRole(const role_uuid_type role_uuid, const std::string &amp;announce, error_code &amp;ec)</div><div class="ttdoc">修改公会公告</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:296</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_a60dffb93ce3eb3838b77f84ecd6b206e"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#a60dffb93ce3eb3838b77f84ecd6b206e">guild_service::GuildBriefLogic::GetGuildAnnounce</a></div><div class="ttdeci">static const std::string &amp; GetGuildAnnounce(const guild_id_type guild_id)</div><div class="ttdoc">获取公会公告</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:74</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_aeaf2df33f6bbf318b1bbec6d665525dc"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#aeaf2df33f6bbf318b1bbec6d665525dc">guild_service::GuildBriefLogic::NewsType</a></div><div class="ttdeci">AnnounceData NewsType</div><div class="ttdoc">新闻类型</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.h:210</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_a5ce9f2d65b02e6fafe5a46abf3a5a763"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#a5ce9f2d65b02e6fafe5a46abf3a5a763">guild_service::GuildBriefLogic::GetGuildModuleBriefByRole</a></div><div class="ttdeci">static bool GetGuildModuleBriefByRole(const role_uuid_type role_uuid, GuildModuleBrief &amp;module_brief)</div><div class="ttdoc">获取公会简略信息模块</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:25</div></div>
<div class="ttc" id="aclassguild__service_1_1_guild_brief_logic_html_afaa3264e985f0e0a1afa7287e43ea1bd"><div class="ttname"><a href="classguild__service_1_1_guild_brief_logic.html#afaa3264e985f0e0a1afa7287e43ea1bd">guild_service::GuildBriefLogic::ForeachNews</a></div><div class="ttdeci">static void ForeachNews(const guild_id_type guild_id, const ForeachNewsCallbackType &amp;callback)</div><div class="ttdoc">遍历公会新闻</div><div class="ttdef"><b>Definition:</b> guild_brief_logic.cpp:180</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
